package com.jaiai.work.project.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 模块资源
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2018-04-19
 */
@TableName("t_resource")
public class TResource extends Model<TResource> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 项目Id
     */
	@TableField("project_id")
	private String projectId;
    /**
     * 资源标题
     */
	@TableField("resource_title")
	private String resourceTitle;
    /**
     * 资源类型
     */
	@TableField("resource_type")
	private String resourceType;
    /**
     * 连接地址
     */
	@TableField("resource_url")
	private String resourceUrl;
    /**
     * 分类(原型,设计,需求,其它)
     */
	@TableField("resource_class")
	private String resourceClass;
    /**
     * 描诉
     */
	private String notes;
    /**
     * 内容
     */
	private String content;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 创建人
     */
	@TableField("create_by")
	private String createBy;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getResourceTitle() {
		return resourceTitle;
	}

	public void setResourceTitle(String resourceTitle) {
		this.resourceTitle = resourceTitle;
	}

	public String getResourceType() {
		return resourceType;
	}

	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}

	public String getResourceUrl() {
		return resourceUrl;
	}

	public void setResourceUrl(String resourceUrl) {
		this.resourceUrl = resourceUrl;
	}

	public String getResourceClass() {
		return resourceClass;
	}

	public void setResourceClass(String resourceClass) {
		this.resourceClass = resourceClass;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
